package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ClinicPatient;
import com.zshan.clinic.database.model.ClinicPatientExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ClinicPatientMapper extends SuperMapper {
    long countByExample(ClinicPatientExample example);

    int deleteByExample(ClinicPatientExample example);

    int deleteByPrimaryKey(Long patientId);

    int insert(ClinicPatient row);

    int insertSelective(ClinicPatient row);

    List<ClinicPatient> selectByExample(ClinicPatientExample example);

    ClinicPatient selectByPrimaryKey(Long patientId);

    int updateByExampleSelective(@Param("row") ClinicPatient row, @Param("example") ClinicPatientExample example);

    int updateByExample(@Param("row") ClinicPatient row, @Param("example") ClinicPatientExample example);

    int updateByPrimaryKeySelective(ClinicPatient row);

    int updateByPrimaryKey(ClinicPatient row);
}